package com.atguigu.userprofile.dao;

import com.atguigu.userprofile.bean.TaskInfo;
import com.atguigu.userprofile.util.MySQLUtil;

public class TaskInfoDao {
    public static TaskInfo getTaskInfo(String taskId){
        String sql = "select * from task_info where id ='" + taskId + "'";
        return MySQLUtil.queryOne(sql, TaskInfo.class, true);
    }
}
